ElasticPress\Indexable D

Total Complexity 132
Dependencies 9
Dependents 2
Total lines 1,223
Lines of code 583
Logical lines of code 290
Comment lines 481
Methods 30
Properties 4

Methods 30

Method Rating Maintainability Complexity Lines of code
build_meta_query()
D
20
47 256
send_bulk_index_request()
B
37 20 75
prepare_date_meta_values()
S
54 7 19
get_index_name()
S
51 6 28
get_all_distinct_values()
S
52 6 24
prepare_meta_value_types()
S
53 6 24
elasticpress_enabled()
S
62 4 11
get_distinct_meta_field_keys()
S
57 3 15
index()
S
60 3 13
bulk_index_dynamically()
S
56 2 18
bulk_index()
S
57 2 17
is_full_reindexing()
S
66 3 8
prepare_meta_types()
S
63 3 10
get_network_alias()
S
61 2 11
query_es()
S
69 2 6
compare_mappings()
S
65 2 8
multi_get()
S
78 1 3
get_search_algorithm()
S
73 1 4
generate_mapping()
S
75 1 4
query_db()
S
100 1 0
prepare_document()
S
100 1 0
put_mapping()
S
75 1 4
delete_network_alias()
S
80 1 3
get_mapping()
S
80 1 3
delete_index()
S
79 1 3
create_network_alias()
S
79 1 3
delete()
S
74 1 4
get()
S
78 1 3
index_exists()
S
79 1 3
get_bulk_items_per_page()
S
79 1 3